/*
 * log.c
 *
 *  Created on: 2012-04-11
 *      Author: Aco
 */

#include <stdio.h>
#include <stdarg.h>

char _logBuffer[1024];
void _EMU_log(const char * fmt, ...)
{
	va_list argp;
	va_start(argp, fmt);
	vsprintf(_logBuffer, fmt, argp);
	va_end(argp);
	puts(_logBuffer);
	fflush(stdout);
}


